package main

import "fmt"

type Student struct {
	Name string
	Age  int
}

func (s *Student) String() string {
	return fmt.Sprintf("Name=%v Age=%v", s.Name, s.Age)
}

func main() {
	stu := Student{
		Name: "Tom",
		Age:  18,
	}
	fmt.Println(&stu)
}
